package com.rtx.edi.model.application.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.rtx.edi.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * <p>
 * 应用关联表 
 * </p>
 *
 * @author wq
 * @since 2023-03-14
 */
@TableName("pl_application_link")
@ApiModel(value = "PlApplicationLink对象", description = "应用关联表 ")
public class PlApplicationLink extends BaseEntity {

    @ApiModelProperty("公司id")
    private Long companyId;

    @ApiModelProperty("应用关联名称")
    private String linkName;

    @ApiModelProperty("应用关联状态(已启用，已禁用)")
    private Integer linkStatus;

    @ApiModelProperty("应用关联描述")
    private String linkDesc;

    @ApiModelProperty("上位公司id")
    private Long aboveCompanyId;

    @ApiModelProperty("上位公司编号")
    private String aboveCompanyNo;

    @ApiModelProperty("上位公司名称")
    private String aboveCompanyName;

    @ApiModelProperty("上位应用id")
    private Long aboveApplicationId;

    @ApiModelProperty("上位应用编号")
    private String aboveApplicationNo;

    @ApiModelProperty("上位应用名称")
    private String aboveApplicationName;

    @ApiModelProperty("下位公司id")
    private Long belowCompanyId;

    @ApiModelProperty("下位公司编号")
    private String belowCompanyNo;

    @ApiModelProperty("下位公司名称")
    private String belowCompanyName;

    @ApiModelProperty("下位应用id")
    private Long belowApplicationId;

    @ApiModelProperty("下位应用编号")
    private String belowApplicationNo;

    @ApiModelProperty("下位应用名称")
    private String belowApplicationName;

    @ApiModelProperty("应用关联明细")
    @TableField(exist = false)
    private List<PlApplicationLinkDtl> items;

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public String getLinkName() {
        return linkName;
    }

    public void setLinkName(String linkName) {
        this.linkName = linkName;
    }

    public Integer getLinkStatus() {
        return linkStatus;
    }

    public void setLinkStatus(Integer linkStatus) {
        this.linkStatus = linkStatus;
    }

    public String getLinkDesc() {
        return linkDesc;
    }

    public void setLinkDesc(String linkDesc) {
        this.linkDesc = linkDesc;
    }

    public Long getAboveCompanyId() {
        return aboveCompanyId;
    }

    public void setAboveCompanyId(Long aboveCompanyId) {
        this.aboveCompanyId = aboveCompanyId;
    }

    public String getAboveCompanyNo() {
        return aboveCompanyNo;
    }

    public void setAboveCompanyNo(String aboveCompanyNo) {
        this.aboveCompanyNo = aboveCompanyNo;
    }

    public String getAboveCompanyName() {
        return aboveCompanyName;
    }

    public void setAboveCompanyName(String aboveCompanyName) {
        this.aboveCompanyName = aboveCompanyName;
    }

    public Long getAboveApplicationId() {
        return aboveApplicationId;
    }

    public void setAboveApplicationId(Long aboveApplicationId) {
        this.aboveApplicationId = aboveApplicationId;
    }

    public String getAboveApplicationNo() {
        return aboveApplicationNo;
    }

    public void setAboveApplicationNo(String aboveApplicationNo) {
        this.aboveApplicationNo = aboveApplicationNo;
    }

    public String getAboveApplicationName() {
        return aboveApplicationName;
    }

    public void setAboveApplicationName(String aboveApplicationName) {
        this.aboveApplicationName = aboveApplicationName;
    }

    public Long getBelowCompanyId() {
        return belowCompanyId;
    }

    public void setBelowCompanyId(Long belowCompanyId) {
        this.belowCompanyId = belowCompanyId;
    }

    public String getBelowCompanyNo() {
        return belowCompanyNo;
    }

    public void setBelowCompanyNo(String belowCompanyNo) {
        this.belowCompanyNo = belowCompanyNo;
    }

    public String getBelowCompanyName() {
        return belowCompanyName;
    }

    public void setBelowCompanyName(String belowCompanyName) {
        this.belowCompanyName = belowCompanyName;
    }

    public Long getBelowApplicationId() {
        return belowApplicationId;
    }

    public void setBelowApplicationId(Long belowApplicationId) {
        this.belowApplicationId = belowApplicationId;
    }

    public String getBelowApplicationNo() {
        return belowApplicationNo;
    }

    public void setBelowApplicationNo(String belowApplicationNo) {
        this.belowApplicationNo = belowApplicationNo;
    }

    public String getBelowApplicationName() {
        return belowApplicationName;
    }

    public void setBelowApplicationName(String belowApplicationName) {
        this.belowApplicationName = belowApplicationName;
    }

    public List<PlApplicationLinkDtl> getItems() {
        return items;
    }

    public void setItems(List<PlApplicationLinkDtl> items) {
        this.items = items;
    }

    @Override
    public String toString() {
        return "PlApplicationLink{" +
        "companyId=" + companyId +
        ", linkName=" + linkName +
        ", linkStatus=" + linkStatus +
        ", linkDesc=" + linkDesc +
        ", aboveCompanyId=" + aboveCompanyId +
        ", aboveCompanyNo=" + aboveCompanyNo +
        ", aboveCompanyName=" + aboveCompanyName +
        ", aboveApplicationId=" + aboveApplicationId +
        ", aboveApplicationNo=" + aboveApplicationNo +
        ", aboveApplicationName=" + aboveApplicationName +
        ", belowCompanyId=" + belowCompanyId +
        ", belowCompanyNo=" + belowCompanyNo +
        ", belowCompanyName=" + belowCompanyName +
        ", belowApplicationId=" + belowApplicationId +
        ", belowApplicationNo=" + belowApplicationNo +
        ", belowApplicationName=" + belowApplicationName +
        "}";
    }
}
